home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 09 - 1993 / 09.12 Dec 93 / Apple π / CPiChore.h < prev   
Encoding:
C/C++ Source or Header  |  1994-11-06  |  485 b   |  25 lines  |  [TEXT/KAHL]

  1. /*
  2.     CPiChore
  3.     Written and copyright by Malcolm H. Teas 1993.  All rights reserved.
  4.     
  5. */
  6.  
  7.  
  8. #define    _H_CPiChore        /* Include this file only once */
  9. #include <CChore.h>
  10. #include <CDocument.h>
  11.  
  12.  
  13. class CPiChore : public CChore  {
  14.     public:
  15.         virtual void Perform (long *maxSleep);
  16.         void InitChore (long numDigits, CDocument *doc, Boolean timeIt, Boolean faster);
  17.         void Dispose (void);
  18.         long GetTicks (void);
  19.         
  20.     private:
  21.         int        stage;
  22.         long    ticks;
  23.         Boolean    timeCalc;
  24.         Boolean    faster;
  25. };